<?php
$this->menu = array(
	array('label'=>'商品标签', 'url'=>'/manage/tags/admin?c=goods'),
	array('label'=>'文章标签', 'url'=>'/manage/tags/admin?c=article'),
);
echo CHtml::tag('h2', array(), '标签管理列表');
$table = new YDataGrid($list, array(
	'columns' => array(
		'tags',
		'count',
	),
	'key' => '_id'
));

$table
->setTitles(array('标签', '数量'))
// ->insertCol(0, array(
// 	YHtmlDataGrid::link('编辑', '/manage/tags/edit/{$key}', array('visible'=>Yii::app()->user->v('manage@TagsAdmin'))),
// 		YHtmlDataGrid::jsLink('删除', 'del', array('visible'=>Yii::app()->user->v('manage@NavigationDel'))),
// ), '操作')
->render(false);